<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <title>二手手机回收｜旧手机回收｜二手手机交易－耶回收</title>
    <meta name="keywords" content="耶回收二手手机回收频道-为您提供二手闲置手机回收、旧手机回收、闲置手机回收业务-权威机构检测，高价上门回收-耶回收官网！"/>
    <meta name="description" content="手机回收,旧手机回收,回收手机,高价回收手机"/> 
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta name="renderer" content="webkit" />  
    <link href="<%=basePath%>static/css/common_new.min.css" rel="Stylesheet" type="text/css" />
    <link href="/favicon.ico" mce_href="/favicon.ico" rel="bookmark" type="image/x-icon" />
    <link href="/favicon.ico" mce_href="/favicon.ico" rel="icon" type="image/x-icon" />
    <link href="/favicon.ico" mce_href="/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link id="css" href="<%=basePath%>static/css/search.min.css" rel="stylesheet" type="text/css" />
    <script src="<%=basePath%>js/jquery-1.11.1.js" type="text/javascript"></script>
    <script src="<%=basePath%>js/jquery.validate.js" type="text/javascript"></script>
    <script type="text/javascript" src="<%=basePath%>js/vue.min.js"></script>
	<link rel="stylesheet" href="<%=basePath%>css/index.css" type="text/css">
    <style>
    .daohang{
        width: 1190px;
        height: 50px;
        margin: 10px auto;

    }
    .daohang a{
        color: black;
    }
    .row {
        width: 1190px;
        height: 50px;
        margin: 0 auto;
    }
    .row p{
        font-size: 30px;
        color: #2192c9;
        font-weight: 600;
    }
    .inp1{
        width: 1190px;
        height: 50px;
    }
    .inp1 input{
        /* display: block;
        float: left; */
        width: 240px;
        height: 30px;
        margin-top: 50px;
        font-size:14px;
        border: 1px solid #ddd;
    }
    
     .inp1 input:hover {
      border:1px solid #127cc9;
     
     }
    .text1{
           display: block;
        width: 900px;
        height: 200px;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 80px;
        border: 1px solid #7b7b7b;
    }
    .but{
        display: block !important;
        width: 300px !important;
        height: 40px !important;
        border-radius: 5px !important;
        background: #2192c9 !important;
        border: 0px solid #2192c9 !important;
        margin: 20px auto !important;
        margin-bottom: 80px;
        color:#fff;
        font-size:16px !important;
    }
    .dibu{
        text-align: center;
        background: #f9f6f6;
        height: 60px;
        line-height: 30px;
        margin-bottom:10px;
    }
    a{
        color: black;
    }
    .dibuspan p a{
        color: #a8a7a7;
    }
    .dibuspan p span{
        color: #a8a7a7;
    }
    
    .nav_t{
width: 150px !important;
height: 40px !important;
text-align:center !important;
border:0px !important;
}

.nav_t a{
width:80px !important;
height:40px !important;
background:#fff !important;
border:0px !important;
}
    
   .navbar-content{
 border:0px !important;
}
.yeah-top{border:none !important;}
.navbar{height:40px !important;}

#header{height:182px;}
.con{width: 100%;
     height: 400px;}
    .suc{width: 800px;
height: 300px;
margin: 28px auto;
font-size: 18px;
text-align: center;
border:1px solid #ddd;
color:#196ac6;
}
    </style>
</head>
<body>  
<div id="header">
    <div class="navbar">
        <div class="navbar-content">
            <jsp:include page="yeah-top.jsp"/>
        </div>
    </div>
     <div class="top-area">
        <div class="search">
                <a class="logo-link" href="/" title="耶回收网,手机回收,笔记本回收,减法新生活,中国专业可靠的二手数码回收平台">                   
                    <span class="icon-logo" style="width: 220px;"></span>
                </a>
                <!-- <a href="/" class="backup" title="东方风云榜，音乐盛典独家冠名">
                    <img src="static/picture/fengyunbang.png">
                </a>>
              <!-- 回收商品搜索 -->
                <div class="searchbox">
                <form action="tobrandinfo" method ="post">
                    <input id="txt-keyword"  value="${brandname}" type="text" name="brandname" placeholder="品牌名称" class="ac_input" />
                    <button type="submit"><a id="btnSearchKeyWords" title="二手手机回收｜旧手机回收｜二手手机交易－耶回收"></a></button>
                    </form>
              </div>
        </div>
       <div class="nav-projects">
                <div class="tab-menu">
                    <ul class="clearfix">
                        <li>
                            <a href="tobrandinfo"  class="activemenu first-tab" title="手机回收,二手手机回收,专业靠谱的数码产品回收平台"> 旧机回收 <i></i></a>
                        </li>
                        <li class="nav_t">
                        <a href="sellindex"  class="activemenu first-tab" title="手机回收,二手手机回收,专业靠谱的数码产品回收平台">耶优品<i></i></a>
                        </li>
                         <li class="nav_t">
                        <a href="leaseitem"  class="activemenu first-tab" title="手机回收,二手手机回收,专业靠谱的数码产品回收平台">低价租赁<i></i></a>
                        </li>
                    </ul>
                </div>
       </div>
    </div>
  </div>
    <section>
     <div class="con">
     <div class="suc">您填写的企业回收资料已经提交成功！请耐心等待。</div>
     
     </div>
        <div class="dibu">
            <div>
                <p>
                    <a href="#">关于我们</a>
                    <span class="mod_copyright_split">|</span>
                    <a href="#">联系我们</a>
                    <span class="mod_copyright_split">|</span>
                    <a href="#">联系客服</a>
                    <span class="mod_copyright_split">|</span>
                    <a href="#">合作招商</a>
                </p>
                <div class="dibuspan">
                    <p>
                        <a href="#" target="_blank">沪ICP备17036439号</a>
                        <span>|</span>
                        <span>沪ICP备17036439号-2</span>
                        <span>|</span>
                        <a href="#" target="_blank">上海瓜叶网络科技有限公司</a>
                    </p>
                </div>
            </div>
        </div>
    </section>
    <script type="text/javascript">
    
   
$(function(){
   	 
  /*  	 $("form").validate({
   		         //做完表单验证后的  ajax后台数据验证 如果不满足条件 则禁止表单的提交
   			  submitHandler: function(form) {
   			    return checkinfo();
   			     //发出ajax请求 根据回调函数的返回值 来判断checkBackitemExsit()的返回值;
   			    	
   			    }  
   	 });  */

    }); 
    
                   //非空检测
					function check_null(obj) {
						var s = $(obj).val();
						if (s != null && s != "") {
							$(obj).css("border", "1px solid #ddd");
						} else {

							$(obj).css("border", "1px solid red");
						}
					}
                      //手机号验证
					function checkphone() {
						var re = /^1[3|5|6|7|8|]\d{9}$/;//正则表达式
						var s = $("#phone").val();
						if (s != null && re.test(s)) {
							$("#phone").css("border", "1px solid #ddd");
						} else {
							$("#phone").css("border", "1px solid red");
						}

					}

					function checkinfo() {
						//验证手机号的正则
					    var re = /^1[3|5|6|7|8|]\d{9}$/;
						var text = $(".text1").val().trim();
						var comname = $("#company").val().trim();
						var clientname = $("#clientname").val().trim();
						var phone = $("#phone").val().trim();
						var flag1 = false;
						var flag2 = false;
						var flag3 = false;
						var flag4 = false;
						
						if (text!= null && text != "") {
							flag1 = true;
						} else {
							$(".text1").css("border", "1px solid red");
						}
						if (comname != null && comname != "") {
							flag2 = true;
						} else {
							$("#company").css("border", "1px solid red");

						}
						if (clientname!= null && clientname!="") {
							flag3 = true;
						} else {
							$("#clientname").css("border", "1px solid red");
						}
						if (phone != ""&&(re.test(phone))) {
							flag4 = true;
						} else {
							$("#phone").css("border", "1px solid red");
						} 
                 var flag = flag1&&flag2&&flag3&& flag4;
						return flag;
					}
				</script>
</body>
</html>
